/**
 *Jenny test 
 */
window.onload=function(){
var tabs=document.getElementById("tabs");
var tablis=tabs.getElementsByTagName("li");
var tabcontent=document.getElementById("tabcontent");
var tabmains=tabcontent.getElementsByTagName("div");
for(i=0;i<tablis.length;i++){(function(index){tablis[i].onclick=function(){
                    for(j=0;j<tablis.length;j++){
                        tablis[j].className="";
                        tabmains[j].style.display="none";};
                    this.className="active";
                    tabmains[index].style.display="block";};})(i)}
};